package com.hsjk.szwj.module.train.controller.app.vo.product;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Schema(description = "h5 - Spu 列表 Request VO")
@Data
public class SpuListRespVO {

  @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED)
  private Long id;

  @Schema(description = "spu名称", requiredMode = Schema.RequiredMode.REQUIRED)
  private String spuName;

  @Schema(description = "spu描述", requiredMode = Schema.RequiredMode.REQUIRED)
  private String spuDesc;

  @Schema(description = "封面图片地址", requiredMode = Schema.RequiredMode.REQUIRED)
  private String coverUrl;

  @Schema(description = "价格", requiredMode = Schema.RequiredMode.REQUIRED)
  private Integer salePrice;

  @Schema(description = "总库存", requiredMode = Schema.RequiredMode.REQUIRED)
  private Integer totalStock;

  @Schema(description = "销量", requiredMode = Schema.RequiredMode.REQUIRED)
  private Integer salesCount;

  @Schema(description = "标签")
  List<String> tags;
}
